﻿using System;
using System.Data;

namespace MobileBank1.Model
{
	public class MobileRecord
	{
		public string Gosb { get; set; }
		public string Osb { get; set; }
		public string Vsp { get; set; }

		public DataTable Table { get; set; }
		
		/// <summary>
		/// Пока не используем
		/// </summary>
		public DataTable TableError { get; set; }

		public MobileRecord()
		{
			Table = new DataTable();
			Table.Columns.Add(new DataColumn("Phone", typeof (string)));
			Table.Columns.Add(new DataColumn("CardMonitoring", typeof (string)));
			Table.Columns.Add(new DataColumn("Card", typeof (string)));
			Table.Columns.Add(new DataColumn("RegistrationDate", typeof (string)));
			Table.Columns.Add(new DataColumn("Tarif", typeof(string)));
			Table.Columns.Add(new DataColumn("Operator", typeof(string)));
			Table.Columns.Add(new DataColumn("Email", typeof(string)));

			Table.Columns.Add(new DataColumn("Card2", typeof(string)));
			Table.Columns.Add(new DataColumn("Card3", typeof(string)));
			Table.Columns.Add(new DataColumn("Card4", typeof(string)));
			Table.Columns.Add(new DataColumn("Card5", typeof(string)));
			Table.Columns.Add(new DataColumn("Card6", typeof(string)));
			Table.Columns.Add(new DataColumn("Card7", typeof(string)));
			Table.Columns.Add(new DataColumn("Card8", typeof(string)));
		}
	}
}
